SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48880: Stored process execution might fail when referencing promoted metadata libraries

DetailsHotfixAboutRate It

Each metadata library object in SAS® Management Console contains a metadata ID such as AYYYYYYY.AZZZZZZZ. When a metadata library object is promoted from one environment to another using the SAS Management Console promotion tools, the metadata IDs of the original and promoted library content will be different.


When you create stored processes in SAS® Enterprise Guide® that reference metadata libraries, the associated META library engine assignment fails with the following error from within the new environment:
ERROR: Cannot retrieve metadata from SAS Metadata Repository.
ERROR: Error in the LIBNAME statement.
ERROR: Libname XX is not assigned.

The SAS Enterprise Guide Stored Process wizard uses the LIBNAME statement's LIBID option to reference the library object in metadata. When the promoted library object ID no longer matches the original value, the library cannot be found.

The following workarounds are available for this issue.

  • Instead of promoting metadata content, use migration to move metadata content from one environment to another.
  • Modify the stored process LIBNAME statement to use the new LIBID value. (Note: This is not recommended with a large number of stored processes.)
  • Re-create the stored process. On the librefs page of the stored process wizard, select Use custom LIBNAME statement. Instead of using the LIBID option, use the LIBRARY=name option (where name specifies the value in the SASLibrary object's name).

For additional information about the metadata LIBNAME, see LIBNAME Statement for the Metadata Engine

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideWindows 7 Home Premium x645.17.19.4 TS1M1
Microsoft® Windows® for x645.17.19.4 TS1M1
Microsoft Windows 8 Pro5.17.19.4 TS1M1
Microsoft Windows Server 2003 Datacenter Edition5.1
Microsoft Windows Server 2003 Enterprise Edition5.1
Microsoft Windows Server 2003 Standard Edition5.1
Microsoft Windows Server 2003 for x645.1
Microsoft Windows Server 20085.17.19.4 TS1M1
Microsoft Windows Server 2008 for x645.17.19.4 TS1M1
Windows 7 Enterprise 32 bit5.17.19.4 TS1M1
Windows 7 Enterprise x645.17.19.4 TS1M1
Windows 7 Home Premium 32 bit5.17.19.4 TS1M1
Windows 7 Professional 32 bit5.17.19.4 TS1M1
Microsoft Windows Server 20125.17.19.4 TS1M1
Microsoft Windows XP Professional5.1
Windows 7 Professional x645.17.19.4 TS1M1
Windows 7 Ultimate 32 bit5.17.19.4 TS1M1
Windows 7 Ultimate x645.17.19.4 TS1M1
Windows Vista5.1
Windows Vista for x645.1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.